package com.example.mapper;

import com.example.entity.Activity;

import java.util.List;

/**
 * 功能：活动表
 * 日期：2024/1/31 20:55
 */
public interface ActivityMapper {

    void add(Activity activity);

    void deleteById(Integer id);

    void updateById(Activity activity);

    Activity selectById(Integer id);

    List<Activity> selectAll(Activity activity);
}